/*
*  Copyright 2020-2021 Li Fei
*
*  Licensed under the Apache License, Version 2.0 (the "License");
*  you may not use this file except in compliance with the License.
*  You may obtain a copy of the License at
*
*  http://www.apache.org/licenses/LICENSE-2.0
*
*  Unless required by applicable law or agreed to in writing, software
*  distributed under the License is distributed on an "AS IS" BASIS,
*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*  See the License for the specific language governing permissions and
*  limitations under the License.
*/
package com.pengshun.modules.api.coal.service;

import com.pengshun.modules.api.coal.para.CoalBinessPara;
import com.pengshun.modules.api.coal.para.MapPara;
import com.pengshun.modules.api.coal.para.MerchantPara;
import com.pengshun.modules.common.BaseResult;


/**
* @description 服务接口
* @author lifei
* @date 2020-11-05
**/
public interface MerchantService {


    /**
     * 根据类别查询商户信息列表
     * @param merchantCategoryId
     * @return
     * @throws Exception
     */
    BaseResult selectListByMerchantId(MerchantPara merchantCategoryId)throws Exception;;

    /**
     * 根据矿口id查询商户信息列表
     * @param para
     * @return
     */
    BaseResult selectListByMineMouthId(MerchantPara para)throws Exception ;

    /**
     * 条件查询煤炭销售商列表
     * @param para
     * @return
     */
    BaseResult selectListBy(CoalBinessPara para);

    BaseResult selectAllMerchantMap(MapPara para);

    BaseResult selectMerchantDetil(Long merchantId)
            ;

    /**
     * 手机号查询商户
     * @param phone
     * @return
     */
    BaseResult selectMerchant(String phone);
}